package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2023-06-19 15:56:43
 */
@Data
@TableName("t_after_sales_order")
@ApiModel(value = "AfterSalesOrder对象", description = "")
public class AfterSalesOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("售后订单表PK")
      @TableId(value = "after_sales_order_id", type = IdType.AUTO)
    private Integer afterSalesOrderId;

    @ApiModelProperty("订单表PK")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty("处理方式")
    @TableField("processing_method_item")
    private String processingMethodItem;

    @ApiModelProperty("退款原因")
    @TableField("refund_reason_item")
    private String refundReasonItem;

    @ApiModelProperty("退款说明")
    @TableField("refund_explain")
    private String refundExplain;

    @ApiModelProperty("售后状态（FINISH=已完成，NO=待处理）")
    @TableField("statue")
    private String statue;

    @ApiModelProperty("是否删除(0=否，1=是)")
    @TableField("is_delete")
    @TableLogic
    private String isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
